﻿@model Vnsf.WebHost.Models.Document.FolderCreateModel

<a href="#" class="btn btn-default" data-toggle="modal" data-target="#createFolder">Create folder</a>


<div class="modal fade" id="createFolder" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    @using (Html.BeginForm(null, null, FormMethod.Post, new { id = "form" }))
    {
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                    <h4 class="modal-title">Create directory</h4>
                </div>
                <div class="modal-body">
                    <div class="form-horizontal">
                        @*<div class="col-sm-12">
                                <div class="form-group">
                                    <label class="control-label">Folder name</label>
                                    <input type="text" class="form-control input-sm" />
                                </div>
                                <div class="form-group">
                                    <label class="control-label">Description</label>
                                    <textarea class="form-control input-sm" rows="5"></textarea>
                                </div>
                            </div>*@
                        @Html.EditorForModel()
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="submit" class="btn btn-default" data-dismiss="modal">Save</button>
                    <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
                </div>
            </div>
            <!-- /.modal-content -->
        </div>
    <!-- /.modal-dialog -->
    }
</div>
